<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<h2 id="result">
</h2>
</body>
<script src="trans.js"></script>
<script type="text/javascript">

</script>
<script type="text/javascript">
    let result = trans(123)
    console.log(typeof result)
    console.log('123', result)

    let result02 = trans(12345)
    console.log('12345:', result02)

    let result03 = trans(1238567)
    console.log('1238567:', result03)

    let result04 = trans(12385678)
    console.log('12385678:', result04)

    let result05 = trans(123856789)
    console.log('123856789:', result05)

    let result06 = trans(1238567890000)
    console.log('1238567890000:', result06)

    // document.getElementById("result").innerText(result)
</script>
</html>